package com.csw.demoBootstrapTable2.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("test")
public class DemoController {
	@RequestMapping("error")
	public String demo1() {
		System.out.println("进入error+");
		return "/error";
	}

	@RequestMapping("a")
	public String demo2() {
		System.out.println("a+");
		return "/a";
	}
}
